package com.shop.cereshop.agent.param.rank;

import com.shop.cereshop.commons.domain.common.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description: TODO 
 * @author lx
 * @date 2025/10/18 16:41
 * @version 1.0
 */
@Data
@ApiModel(value = "代理商排名参数")
public class AgentRankDTO extends PageParam {

    @ApiModelProperty(value = "代理商用户id，业务字段无需传入")
    private Long agentUserId;

    @ApiModelProperty(value = "排名类型 1-商家数量，2-商家成交额，3-用户数量，4-用户消费，5-业务员数量，6-代理商数量", required = true)
    @NotNull(message = "排名类型不能为空")
    private Integer rankType;
}